package command.command.impl;

import command.command.Command;
import command.receiver.TV;

/**
 * 具体命令：开电视
 * @author Liu Yicong
 * @date 2025/9/25
 */
public class TurnOnTVCommand implements Command {
	private TV tv;

	public TurnOnTVCommand(TV tv) {
		this.tv = tv;
	}

	@Override
	public void execute() {
		this.tv.turnOn();
	}
}
